package com.ts.content.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


/**
 * 评论表
 *
 * @author 小张@qq.com
 * @since 1.0.0 2023-03-07
 */
@Data
@ApiModel(value = "评论表")
public class CommentDTO implements Serializable {
    private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "评论ID")
	private Integer id;

	@ApiModelProperty(value = "父级id")
	private String pid;

	@ApiModelProperty(value = "评论类型:1帖子")
	private Integer type;

	@ApiModelProperty(value = "评论作者ID")
	private String userId;

	@ApiModelProperty(value = "被回复用户ID")
	private String toUid;

	@ApiModelProperty(value = "评论帖子ID")
	private String postId;

	@ApiModelProperty(value = "评论内容")
	private String content;

	@ApiModelProperty(value = "评论状态")
	private Integer status;

	@ApiModelProperty(value = "创建时间")
	private Date createTime;


}